import { $GET } from '@/utils/services';
import type { IAuthMenusRes, IUserInfo } from './index.d';

// 查询菜单权限
export const _getMenus = () => $GET<IAuthMenusRes[]>('/sys/corp/account/menus')

// 获取用户信息
export const getUserInfo = () => $GET<IUserInfo>('/sys/user/loginUserSimpleInfo')
